﻿namespace zUnitTesting.TestScripts
{
    using NUnit.Framework;
    using zUnitTesting.TestTools;

    [TestFixture]
    public class ToolsTesting
    {
        [TestCase("TestFileForLoaderTesting.csv", "TestFiles", "I am the file's content !")]
        public void TestFileLoading(string fileName, string relativePath, string expectedContentString)
        {
            string effectiveContentString = FileLoader.RetrieveTestFileContent(fileName, relativePath);

            Assert.AreEqual(expectedContentString, effectiveContentString);
        }
    }
}
